// MSG_TEST.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "ProjectNetMsg.h"

using namespace GLL;


int _tmain(int, _TCHAR*)
{
	NET::RegisterMessage();

	NET::Stream strm;
	strm.str("3 5");
	NET::OnMsgReceived(1, strm);


	NET::NM_MOVE msg;
	msg._X._value.push_back(4);
	msg._X._value.push_back(1);
	msg._X._value.push_back(2);
	msg._X._value.push_back(3);
	msg._X._value.push_back(4);

	NET::Stream strm2;
	strm2.str("4 1 2 3 4");

	NET::OnMsgReceived(2, strm2);

	return 0;
}

